﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="OrderMgrAll.aspx.cs" Inherits="WebMMS.Order.OrderMgrAll" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <script type="text/javascript" src="../script/jquery.js"></script>
    <script type="text/javascript" src="../script/jquery.setBrowserClass.js"></script>
    <script type="text/javascript" src="../script/jquery.marquee.js"></script>
    <script type="text/javascript" src="../script/main.js"></script>
    <script language="javascript" type="text/javascript" src="../script/UCcalendar/WdatePicker.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <form id="Form1" runat="server">
    <div style="width: 100%">
        <table align="center">
            <tr>
                <td style="text-align: right;">
                    订单号：
                </td>
                <td style="text-align: left;">
                    <asp:TextBox ID="txtOrderID" runat="server" CssClass="txtBoxNormal" MaxLength="30"></asp:TextBox>
                </td>
                <td style="text-align: right;">
                    创建时间From：
                </td>
                <td style="text-align: left;">
                    <input class="Wdate" id="inputDateFrom" name="inputDateStart" runat="server" type="text"
                        onclick="WdatePicker()" />
                </td>
                <td style="text-align: right;">
                    To：
                </td>
                <td style="text-align: left;">
                    <input class="Wdate" id="inputDateTo" name="inputDateStart" runat="server" type="text"
                        onclick="WdatePicker()" />
                </td>
                <td style="text-align: right;">
                    状态：
                </td>
                <td style="text-align: left;">
                    <asp:DropDownList ID="ddlStatus" runat="server">
                        <asp:ListItem Value="-1" Text="全部"></asp:ListItem>
                        <asp:ListItem Value="1" Text="已支付"></asp:ListItem>
                        <asp:ListItem Value="0" Text="未支付"></asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td style="text-align: right;">
                    模式：
                </td>
                <td style="text-align: left;">
                    <asp:DropDownList ID="ddlMode" runat="server">
                        <asp:ListItem Value="-1" Text="全部"></asp:ListItem>
                        <asp:ListItem Value="1" Text="支付宝"></asp:ListItem>
                        <asp:ListItem Value="2" Text="神州付"></asp:ListItem>
                        <asp:ListItem Value="3" Text="短信"></asp:ListItem>
                        <asp:ListItem Value="4" Text="银联"></asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td colspan="10" align="center">
                    &nbsp;&nbsp;
                    <asp:Button ID="btnQuery" runat="server" Text="查 询" CssClass="button_green" Width="70px"
                        OnClick="btnQuery_Click" />
                    &nbsp;&nbsp;&nbsp;
                    <%--       <asp:Button ID="btnQueryAll" runat="server" Text="全部显示" CssClass="button_green" Width="70px"
                        OnClick="btnQueryAll_Click" />
                    &nbsp;&nbsp;&nbsp;
                    <asp:Button ID="btnDelete" runat="server" Text="删 除" CssClass="button_blue" Width="70px"
                        OnClick="btnDelete_Click" OnClientClick="return confirm('确定删除？')" />--%>
                </td>
            </tr>
        </table>
        <br />
        <div>
            <div style="width: 50%; float: left; text-align: left; margin-left: 0px;">
                <asp:Label ID="lbCount" runat="server"></asp:Label>
            </div>
            <div style="width: 50%; text-align: right; float: right; margin-right: 20px;">
                <asp:Label ID="lbRnumAll" runat="server"></asp:Label>
            </div>
        </div>
        <asp:GridView ID="GVinfo" runat="server" AutoGenerateColumns="False" CssClass="reason_box"
            Font-Size="12px" CellPadding="0" BorderWidth="0px" BorderColor="#A6E1FF" Width="100%"
            AllowPaging="True" PageSize="30" OnRowDataBound="GVinfo_RowDataBound">
            <Columns>
                <asp:TemplateField HeaderText="订单号">
                    <ItemTemplate>
                        <asp:Label ID="lbOrderID" runat="server" Text='<%# Bind("OrderID") %>'></asp:Label>
                    </ItemTemplate>
                    <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                    <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                </asp:TemplateField>
                <%--       <asp:TemplateField HeaderText="IMSI">
                    <ItemTemplate>
                        <asp:Label ID="lbIMSI" runat="server" Text='<%# Bind("IMSI") %>'></asp:Label>
                    </ItemTemplate>
                    <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                    <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                </asp:TemplateField>--%>
                <asp:TemplateField HeaderText="金额">
                    <ItemTemplate>
                        <asp:Label ID="lbPrice" runat="server" Text='<%# Bind("Price") %>'></asp:Label>
                    </ItemTemplate>
                    <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                    <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="游戏ID">
                    <ItemTemplate>
                        <asp:Label ID="lbAppID" runat="server" Text='<%# Bind("AppID") %>'></asp:Label>
                    </ItemTemplate>
                    <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                    <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="状态">
                    <ItemTemplate>
                        <asp:Label ID="lbStatus" runat="server" Text='<%# Bind("Status") %>'></asp:Label>
                    </ItemTemplate>
                    <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                    <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="创建时间">
                    <ItemTemplate>
                        <asp:Label ID="lbCreateTime" runat="server" Text='<%# Bind("CreateTime") %>'></asp:Label>
                    </ItemTemplate>
                    <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                    <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="回调时间">
                    <ItemTemplate>
                        <asp:Label ID="lbPayTime" runat="server" Text='<%# Bind("PayTime") %>'></asp:Label>
                    </ItemTemplate>
                    <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                    <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="模式">
                    <ItemTemplate>
                        <asp:Label ID="lbMode" runat="server" Text='<%# Bind("ChargeMode") %>'></asp:Label>
                    </ItemTemplate>
                    <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                    <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                </asp:TemplateField>
            </Columns>
            <EmptyDataTemplate>
                <span style="color: Red; font-weight: bold;">无数据显示</span>
            </EmptyDataTemplate>
        </asp:GridView>
        <div style="padding-top: 10px; text-align: right;">
            <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_PageChanged"
                PageSize="30" FirstPageText="首页" LastPageText="末页" NextPageText="下一页" PrevPageText="上一页"
                ShowBoxThreshold="999">
            </webdiyer:AspNetPager>
        </div>
    </div>
    </form>
</asp:Content>
